package cn.samir.sudoku.core;


// not use
public class SudokuType implements Comparable<SudokuType> {

	public int numberHelp;
	public int textId;
	public int totalCount;
	public int passed;

	public SudokuType(int numberHelp, int textId) {
		super();
		this.numberHelp = numberHelp;
		this.textId = textId;
	}

	@Override
	public int compareTo(SudokuType another) {
		return numberHelp == another.numberHelp ? 0 : 1;
	}

	@Override
	public boolean equals(Object o) {
		SudokuType t = (SudokuType) o;
		return numberHelp == t.numberHelp;
	}

	@Override
	public int hashCode() {
		return numberHelp;
	}

	@Override
	public String toString() {
		return "SudokuType [numberHelp=" + numberHelp + ", textId=" + textId
				+ ", totalCount=" + totalCount + ", passed=" + passed + "]";
	}

}
